package com.lagou.bean;

import com.lagou.service.TestService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author xsl
 * @date 2021/5/21 18:33
 * @Description: TestComponent
 */
@Component
public class TestComponent implements TestService {

    @Reference
    private TestService testService;

    @Override
    public String methodA() {
        return testService.methodA();
    }

    @Override
    public String methodB() {
        return testService.methodB();
    }

    @Override
    public String methodC() {
        return testService.methodC();
    }
}
